/**
 * @file   Chicken.h
 * @date   Fri Jul  7 07:45:48 2023
 * 
 * @brief  This is a very interesting class.
 * 
 * 
 */

#include <iostream>

/**
 * Color for chickens!
 * 
 */
enum Color {
    RED,			/**< red color. */
    GREEN,			/**< green color. */
    BLUE			/**< blue color. */
};

/**
 * Chicken is a kind of interesting animal.
 * 
 */
class Chicken
{
private:
	int age; /**< The age of a cxk. */
	int ID; /**< The ID of a cxk. */
	double weight; /**< The weight of a cxk. */
public:
    /** 
     * Construct a chicken.
     * 
     * @param _w to set the weight.
     * @param _c to set the color.
     * @param _I to set the ID.
     */
    Chicken(double _w, Color _c, int _I) : weight(_w), color(_c), ID(_I) {};

    /** 
     * Long live the chicken!
     * 
     */
    ~Chicken() {
	std::cout << "Chicken will never DIE!" << std::endl;
    };

    /** 
     * Even a chicken will sing...
     * 
     */
    void sing () {
	std::cout << "xiaodaigua" << std::endl;
    };
};

